#include "cplexInputManager.h"

/* creates the constraint with the appropriate values - etay */
constraint createConstraint(int* edges, double* values)
{

}

/* creates 3 constraints for the edges with the minus moving around - etay */
void addTriplet(constraintList* lst, int* edges)
{

}

/* creates the obj for the cpx copy - ofir */
double* createObj()
{
	int i,j, k = 0;
	double* obj = malloc(sizeof(double) * edgeNum); /* add number of edges */
	element current;

	mallocCheck(obj);

	for (i = 0; i < graphSize; i++)
	{
		current = graph[i]->edges->head;
		while (current != graph[i]->edges->tail)
		{
			obj[k] = current->weight;
			k++;
		}
	}

	return obj;
}

/* create the rhs for the cpx copy - ofir */
double* createRhs()
{

}

/* create the sense for the cpx copy - ofir*/
char* createSense()
{

}

/* create the matbeg for the cpx copy - ofir */
int* createMatBeg(constraintList lst)
{

}

/* create the matcnt for the cpx copy -ofir */
int* createMatCnt(constraintList lst)
{

}

/* create the matind for the cpx copy - ofir */
int* createMatInd(constraintList lst)
{

}

/* create the matval for the cpx copy - ofir*/
double* createMatVal(constraintList lst)
{

}

/* create the lb for the cpx copy - ofir */
double* createLb()
{
	double* lb = malloc(sizeof(double) * edgeNum);
	int i;

	mallocCheck();

	for (i = 0; i < edgeNum; i++)
		lb[i] = 0;

	return lb;
}

/* create the ub for the cpx copy - ofir */
double* createUb()
{

}

/* create the rngval for the cpx copy - ofir */
double* createRngVal()
{

}
